//
//  JHMiddleWordDownloadCell.h
//  JuniRengLish_iOS
//
//  Created by 邓建 on 2019/5/8.
//  Copyright © 2019 revogi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JHBookItemModel.h"
#import "JHWordItemModel.h"

typedef void (^DownLoadCompleteBlock)(BOOL status);

NS_ASSUME_NONNULL_BEGIN

@interface JHMiddleWordDownloadCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *nameLable;
@property (strong, nonatomic) UIButton *downLoadBtn;
@property (nonatomic, copy) NSString * bookid;
@property (nonatomic, copy) NSString * txtdownloadurl;
@property (nonatomic,strong) JHBookItemModel *itemModel;
@property (nonatomic,strong) JHWordItemModel *wordItemModel;
@property (nonatomic, assign) BOOL isBook;
@property (nonatomic, strong) UIViewController * currentVC;
@property (nonatomic, strong) JHProgressView * progressView;

@property (nonatomic, assign) CGFloat totalCount;
@property (nonatomic, assign) CGFloat count;

@property (nonatomic, copy) DownLoadCompleteBlock downLoadCompleteBlock;

//点击下载或者播放语音
- (void)selectDownLoadAndPlayVoice;

@end

NS_ASSUME_NONNULL_END
